-- GENERATED SPELL FOR [Xil'xix] --


function spell0_15286(pUnit, Event) --@Berserker Charge,n/a--
pUnit:FullCastSpellOnTarget(19471,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15286', 650, 1)
end

function Sorts_15286(pUnit, Event)
local choix_sorts_15286 = math.random(0, 0)
if choix_sorts_15286 == 0 then
pUnit:RegisterEvent('spell0_15286', 1, 1)
end
end

function mob15286_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15286', math.random(1500, 3000), 1)
end

function mob15286_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15286_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15286_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15286, 1, 'mob15286_Action')
RegisterUnitEvent(15286, 2, 'mob15286_Leave')
RegisterUnitEvent(15286, 3, 'mob15286_Kill')
RegisterUnitEvent(15286, 4, 'mob15286_Die')
